<?php 

/**
* 狗类
*/
class Dog extends Dwu
{
	public $name;
	public $age;
/**
* 构造函数
*/
	public function __construct($name=null,$age=null)
	{
		$this->name=$name;
		$this->age=$age;
	}
	public function run($aaa=null)
	{
		echo $this->name.$this->age.'huipao,'.$aaa;
	}
	public function test()
	{
		$this->huo();   /*在方法里调用父类*/
	}
}

















 ?>